import request from "@/utils/service";
// 获取部门列表
export function departmentList(){return request({
    url: '/jeecg-boot/sys/sysDepart/queryTreeList',
    method: 'get',
})
}
// 通过公司和时间查询所
export function suoStatistics(params){return request({
    url: '/jeecg-boot/internal/department/queryByObjId',
    method: 'get',
    params
})
}
//项目表-分页列表查询-参与所
export function suoProjectList(departId,params){return request({
    url: `/jeecg-boot/internal/project/list/${departId}`,
    method: 'get',
    params
})
}
// 所任务列表
export function suoTaskList(params){return request({
    url: `/jeecg-boot/internal/mission/list`,
    method: 'get',
    params
})
}
// 获取指定所的任务数量
export function suoTaskCount(deptId,params){return request({
    url: `/jeecg-boot/internal/mission/missionByCompanyId/${deptId}`,
    method: 'get',
    params
})
}